<%--
  Created by IntelliJ IDEA.
  User: haocongshun
  Date: 2016/10/14
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../inc/top.jsp"%>
<script src="${CONTEXTPATH}/admin/static/user/addUser.js"></script>
<h3 style="font-weight: bold;">添加用户</h3>
<span>${requestScope.Msg}</span>
<div class="panel-body">
    <form role="form" name=addUser" id="addUser" class="form-horizontal" action="${CONTEXTPATH}/userManager/addUser.press" enctype="multipart/form-data" method="post">
        <h4>基本信息</h4>
        <div class="form-group">
            <label class="col-md-2 control-label">用户名</label>
            <div class="col-md-8">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-user"></i>
									</span>
                    <input id="username" name="username" class="form-control1" type="text" placeholder="用户名" value="">
                </div>
            </div>
            <div class="col-sm-2">
                <p class="help-block" id="usernameTip">必填</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label">昵称</label>
            <div class="col-md-8">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-tag"></i>
									</span>
                    <input id="nickname" name="nickname" class="form-control1" type="text" placeholder="昵称" value="">
                </div>
            </div>
            <div class="col-sm-2">
                <p class="help-block">必填</p>
            </div>
        </div>
        <h4>联系信息</h4>
        <div class="form-group">
            <label class="col-md-2 control-label">邮箱</label>
            <div class="col-md-8">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-envelope-o"></i>
									</span>
                    <input id="email" name="email" class="form-control1" type="text" placeholder="邮箱" value="">
                </div>
            </div>
            <div class="col-sm-2">
                <p class="help-block">必填</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label">电话</label>
            <div class="col-md-8">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-phone"></i>
									</span>
                    <input id="phone" name="phone" class="form-control1" type="text" placeholder="电话" value="">
                </div>
            </div>
            <div class="col-sm-2">
                <p class="help-block"></p>
            </div>
        </div>
        <h4>简介信息</h4>
        <div class="form-group">
            <label class="col-md-2 control-label">头像</label>
            <div class="col-md-8">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-file"></i>
									</span>
                    <input type="file" name="avatar" id="avatar">
                </div>
            </div>
            <div class="col-sm-2">
                <p class="help-block">建议填写</p>
            </div>
        </div>
        <h4>设置密码</h4>
        <div class="form-group">
            <label class="col-md-2 control-label">密码</label>
            <div class="col-md-8">
                <div class="input-group input-icon right">
									<span class="input-group-addon">
										<i class="fa fa-key"></i>
									</span>
                    <input type="password" name="password" id="password" class="form-control1" placeholder="密码">
                </div>
            </div>
            <div class="col-sm-2">
                <p class="help-block" style="color: red;">必填</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label">&nbsp;</label>
            <div class="col-md-8">
                <button type="button" id="addUserSub" style="width: 100%" class="btn btn_5 btn-lg btn-primary">确认添加</button>
            </div>
        </div>
    </form>
</div>
<%@include file="../inc/bottom.jsp"%>